package ren.xbcr.schoolbus.client.domain.transmission;


import ren.xbcr.schoolbus.client.domain.BusDriver;
import ren.xbcr.schoolbus.client.util.Tool;
import ren.xbcr.schoolbus.client.util.XbcrResult;

public class ResponseResult<T> {

	public static final Integer RESULT_ERROR = 0;
	public static final Integer RESULT_SUCCESS = 1;

	private T result;
	private Integer resultCode;
	private String resultMessage;


	public Integer getResultCode() {
		return resultCode;
	}
	public void setResultCode(Integer resultCode) {
		this.resultCode = resultCode;
	}
	public String getResultMessage() {
		return resultMessage;
	}
	public void setResultMessage(String resultMessage) {
		this.resultMessage = resultMessage;
	}

	public T getResult() {
		return result;
	}
	public void setResult(T result) {
		this.result = result;
	}
}
